@echo off

adb wait-for-device & adb wait-for-device

adb push public.libraries.system.remove.txt /data/local/tmp
adb push public.libraries.vendor.remove.txt /data/local/tmp

adb shell < cmd.txt

pause

adb reboot